define(['./demo2.js','./demo3.js'],function(demo2,demo3){
    // demo1依赖谁，传入谁
    console.log(demo2);
    console.log(demo3);

    let name = 'yangyang';
    function fun(){
        console.log('老师跟洋洋谈谈话！！')
    }
    // 暴露数来
    return {
        name,
        fun
    }
});